package com.jctrip.hotel.source.model.atour.req;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: beihai
 * @Date: 2022/8/11 17:32
 * @Description:
 */
@NoArgsConstructor
@Data
public class QueryOrderResp {
    @JsonProperty("arrival")
    private String arrival;
    @JsonProperty("atourOrderNo")
    private String atourOrderNo;
    @JsonProperty("contractName")
    private String contractName;
    @JsonProperty("createTime")
    private String createTime;
    @JsonProperty("departure")
    private String departure;
    @JsonProperty("folioDtos")
    private List<FolioDTO> folioDtos;
    @JsonProperty("folioId")
    private Long folioId;
    @JsonProperty("guestName")
    private String guestName;
    @JsonProperty("hotelId")
    private Integer hotelId;
    @JsonProperty("mobile")
    private String mobile;
    @JsonProperty("name")
    private String name;
    @JsonProperty("orderNo")
    private String orderNo;
    @JsonProperty("remark")
    private String remark;
    @JsonProperty("roomNum")
    private Integer roomNum;
    @JsonProperty("roomRate")
    private Double roomRate;
    @JsonProperty("roomTypeId")
    private Integer roomTypeId;
    @JsonProperty("roomTypeName")
    private String roomTypeName;
    /**
     * 订单状态
     * 1-预定 2-取消 3-夜审取消（即noshow） 4-入住 5-离店
     * 【已过入住日期的订单以子单状态为准】
     */
    @JsonProperty("status")
    private Integer status;
    @JsonProperty("totalRoomRate")
    private Double totalRoomRate;

    @NoArgsConstructor
    @Data
    public static class FolioDTO {
        @JsonProperty("folioId")
        private Long folioId;
        @JsonProperty("guestName")
        private List<String> guestName;
        @JsonProperty("roomTypeName")
        private String roomTypeName;
        /**
         * 房单状态
         * 1-预定 2-取消 3-夜审取消（即noshow） 4-入住 5-离店
         */
        @JsonProperty("status")
        private Integer status;
    }
}
